package com.hejia.alauda.entity;

import java.util.Date;

import javax.persistence.Column;

/**
 * 
 * @author jatin
 *
 */
public class Medium extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Column
	private String title; // 标题

	@Column
	private String source; // 来源

	@Column
	private Date reportDate; // 报道日期

	@Column
	private String pictureUrl; // 图片地址

	@Column
	private String introduction; // 简介

	@Column
	private String content; // 内容

	@Column
	private String top; // 是否置顶

	@Column
	private String sourceUrl; // 来源地址

	@Column
	private MediaInstitution institution;// 机构id

	@Column
	private Boolean publish;// 发布标志

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public Date getReportDate() {
		return reportDate;
	}

	public void setReportDate(Date reportDate) {
		this.reportDate = reportDate;
	}

	public String getPictureUrl() {
		return pictureUrl;
	}

	public void setPictureUrl(String pictureUrl) {
		this.pictureUrl = pictureUrl;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTop() {
		return top;
	}

	public void setTop(String top) {
		this.top = top;
	}

	public String getSourceUrl() {
		return sourceUrl;
	}

	public void setSourceUrl(String sourceUrl) {
		this.sourceUrl = sourceUrl;
	}

	public MediaInstitution getInstitution() {
		return institution;
	}

	public void setInstitution(MediaInstitution institution) {
		this.institution = institution;
	}

	public Boolean getPublish() {
		return publish;
	}

	public void setPublish(Boolean publish) {
		this.publish = publish;
	}
}
